Add multiple lines to a Return by Item_ID, Stock Code or Alternative Part Number.
Method | AddItemsToReturn |
The request body is of type AddItemsToReturn.
Name | Description | Data Type |
---|---|---|
Items | xml:string |
The response body is of type AddItemsToReturnResponse.
Name | Description | Data Type |
---|---|---|
AddItemsToReturnResult | A string value containing a JSON object. { "Data": { "FirstName": "Susan", "LastName": "Brown", "Email": "sbrown@bikesblades.com", "Phone": "", "CustomerNumber": "000000000000013", "CustomerName": "Out of Africa", "ItemCount": 3, "TotalWeight": 20.0, "TotalVolume": 0.6, "LastUpdated": "2022-11-04T15:38:09.853", "CustomData": {}, "Branch": "", "Fax": "", "UserField1": "", "SpecialInstrs": "", "OrderType": "", "AlternateKey": "", "ServiceTicket": "", "ShippingAddress": { "FirstName": "Susan", "LastName": "Brown", "Address1": "254 Southway Drive", "Address2": "Southern Bypass", "Address3": "South, Sandton", "City": "", "State": "", "Zip": "2196", "Country": "", "MultiShipCode": "", "Area": "" }, "Details": [{ "Row": 1, "ID": 13262, "Item_ID": 579, "StockCode": "A100", "NonStockItem": false, "Description": "Boys 15 Speed Mountain Bike", "SerialNumber": "Test1011", "Quantity": 1, "UOM": "EA", "UnitType": 1, "UnitWeight": 10.0, "UnitVolume": 0.3, "ReturnType": "", "ProblemCode": "", "ProblemNotes": "", "InvoiceNumber": "", "OrderNumber": "", "CustomData": {}, "LastUpdated": "2022-11-04T15:38:09.87", "WarrantyDate": null, "ReturnByDate": null, "Lot": "", "UserDefined1": "", "UserDefined2": "", "PurchaseDate": "2022-11-04", "Photo1": "/Ecommerce/site/images/Photo1/A100.jpg", "Photo2": "/Ecommerce/site/images/Photo2/A100.jpg" }, { "Row": 2, "ID": 13263, "Item_ID": 578, "StockCode": "SER200", "NonStockItem": false, "Description": "Bicycle Child Seat", "SerialNumber": "XSQWLKF16666", "Quantity": 1, "UOM": "EA", "UnitType": 1, "UnitWeight": 0.0, "UnitVolume": 0.0, "ReturnType": "", "ProblemCode": "", "ProblemNotes": "", "InvoiceNumber": "", "OrderNumber": "", "CustomData": {}, "LastUpdated": "2022-11-04T15:57:20.13", "WarrantyDate": null, "ReturnByDate": null, "Lot": "", "UserDefined1": "", "UserDefined2": "", "PurchaseDate": "2022-11-04", "Photo1": "/Ecommerce/site/images/Photo1/SER200.jpg", "Photo2": "/Ecommerce/site/images/Photo2/SER200.jpg" }, { "Row": 3, "ID": 13264, "Item_ID": 579, "StockCode": "A100", "NonStockItem": false, "Description": "Boys 15 Speed Mountain Bike", "SerialNumber": "Test1011", "Quantity": 1, "UOM": "EA", "UnitType": 1, "UnitWeight": 10.0, "UnitVolume": 0.3, "ReturnType": "", "ProblemCode": "", "ProblemNotes": "", "InvoiceNumber": "", "OrderNumber": "", "CustomData": {}, "LastUpdated": "2022-11-04T15:57:20.153", "WarrantyDate": null, "ReturnByDate": null, "Lot": "", "UserDefined1": "", "UserDefined2": "", "PurchaseDate": "2022-11-04", "Photo1": "/Ecommerce/site/images/Photo1/A100.jpg", "Photo2": "/Ecommerce/site/images/Photo2/A100.jpg" }] }, "LookupData": { "DefaultProblemCode": "BR", "ProblemCodes": [{ "Code": "BR", "DisplayText": "Broken" }, { "Code": "CL", "DisplayText": "Certification Limit" }, { "Code": "CM", "DisplayText": "Changed Mind" }, { "Code": "FT", "DisplayText": "Faulty" }, { "Code": "OS", "DisplayText": "Over Supply" }, { "Code": "US", "DisplayText": "Unsuitable" }, { "Code": "WC", "DisplayText": "Wrong Color" }, { "Code": "WI", "DisplayText": "Wrong Item" }] }, "Result": { "Success": true, "Message": "Items successfully added to return.", "ElapsedTime": "0 ms" } }
| xml:string |